From adb0d2adac43987c062787c3b8dbbe5c99696cc2 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Thu, 26 Dec 2013 16:15:10 +0800 Subject: [PATCH] gtk/gtkapplication.c: Don't Include unistd.h Unconditionally This header, which is not universally available, is accidently made to be included unconditionally during the refactoring of gtkapplication.c, so restore the #ifdef check. --- gtk/gtkapplication.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index 46540ab5ee..ea5211b211 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -23,7 +23,11 @@ #include "gtkapplication.h" #include + +#ifdef HAVE_UNISTD_H #include +#endif + #include #include "gtkapplicationprivate.h" -- 2.30.2